<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Swalayan_home extends CI_Controller {

    public function __construct() {
        parent::__construct();
        $this->load->library('session');
        $this->load->model('batch_model');
        $this->load->model('user_man_model');
    }

    public function index() {
        //get data batch
        //$data['batch'] = $this->batch_model->get_all_batch();
        $data['title'] = 'SIMPEL Home';
        $this->template->write_view('content', 'homepage', $data);
        $this->template->render();
    }
	
	public function calender() {
        //get data batch
        $data['batch'] = $this->batch_model->get_all_batch();
        $data['title'] = 'SIMPEL Home';
        $this->template->write_view('content', 'home_user', $data);
        $this->template->render();
    }

}

/* End of file deabakery.php */
/* Location: ./application/controllers/deabakery.php */